home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AOCE / Development Tools / Sample Code / Messaging Service Access Module / Internet PMSAM / Internet PMSAM source / spooltoexternal.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-08  |  1.2 KB  |  28 lines  |  [TEXT/MPS ]

  1. /*----------------------------------------------------------
  2.  
  3. AOCE Post Office Protocol (3)
  4. Personal Gateway
  5.  
  6. written by Steven Falkenburg-- MacDTS
  7. ©1991-1993 Apple Computer, Inc.
  8.  
  9. ----------------------------------------------------------*/
  10.  
  11. #pragma once
  12. #define __GW_EXTERNALGW__
  13.  
  14. OSErr SpoolToExternalGW(FSSpec *spoolSpec,SlotSpec *slotSpec);
  15. OSErr BailOnSend(OSErr err,Ptr messageBlock);
  16. Boolean TranslateAddress(OCEPackedRecipient *pRecip,char *unixRecip);
  17. OSErr SpoolBodyFromAOCEToRaw(FSSpec *spoolSpec);
  18. OSErr AddTextContent(FSSpec *spoolSpec,unsigned long blockIndex,Ptr bodyBuffer,
  19.                         unsigned long bufferLength,unsigned long *rawContentLength);
  20. OSErr AddPictContent(FSSpec *spoolSpec,unsigned long blockIndex,Ptr bodyBuffer,
  21.                         unsigned long bufferLength,unsigned long *rawContentLength);
  22. OSErr AddSoundContent(FSSpec *spoolSpec,unsigned long blockIndex,Ptr bodyBuffer,
  23.                         unsigned long bufferLength,unsigned long *rawContentLength);
  24. OSErr AddStyledTextContent(FSSpec *spoolSpec,unsigned long blockIndex,Ptr bodyBuffer,
  25.                         unsigned long bufferLength,unsigned long *rawContentLength);
  26. OSErr AddMovieContent(FSSpec *spoolSpec,unsigned long blockIndex,Ptr bodyBuffer,
  27.                         unsigned long bufferLength,unsigned long *rawContentLength);
  28.